<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>

<script type="text/javascript">
	function formatterUsername(cellvalue, rowObject) {
		return "<a href='javascript:void(0)' onclick='isperp.openDialog({contentUrl:\"app/user/view?name=" + rowObject.actioner + "\"});'>" + cellvalue + "</a>";
	}
</script>
<isperp:grid url="app/logAction/list" gridId="appLogActionGrid"
	ondbClickRowEvent="appLogActionGrid.view(rowid);"
	cusViewUrl="app/logAction/view">
	<jsp:attribute name="toolbar">
	<isperp:toolbar id="appLogActionToolbar">
	 
	</isperp:toolbar>
	</jsp:attribute>
	<jsp:attribute name="searchbar">
	<table class="search-table">
		<tbody>
			<tr>
				<td class="td1">操作者：</td>
				<td class="td2"><input type="text" field="actionerName" op="cn">
					</td>
				<td class="td1">类型：</td>
				<td class="td2"><input type="text" field="actionType" op="cn">
					</td>
				<td class="td1">内容描述：</td>
				<td class="td2"><input type="text" field="description" op="cn">
				</td>
			</tr>
			
		</tbody>
	</table>
	</jsp:attribute>
	<jsp:body>
	<isperp:column name="id" title="id" hidden="true"></isperp:column>
	<isperp:column name="actioner" title="操作者" hidden="true">
	</isperp:column>
	<isperp:column name="actionerName" title="操作者" width="100"
			isFormatterFun="true"
			formatter="return formatterUsername(cellvalue,rowObject);">
	</isperp:column>
	
	<isperp:column name="moduleName" title="模块" width="120">
	</isperp:column>
	<isperp:column name="actionType" title="类型" width="80">
	</isperp:column>
	<isperp:column name="createTime" title="操作时间" width="120">
	</isperp:column>
	<isperp:column name="description" title="操作内容描述" width="400">
	</isperp:column> 
	
	</jsp:body></isperp:grid>
